<template>
  <div class="loading-indicator">
    <div class="spinner"></div>
    <span>加载中...</span>
  </div>
</template>

<style scoped lang="scss">
.loading-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px;
  
  span {
    color: var(--secondary-color);
    font-size: 14px;
  }

  .spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--secondary-color-2);
    border-top-color: var(--hover-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
  }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
</style>
